export default {
  data() {
    return {
      loadingModelObj: null
    }
  },
  methods: {
    loadingModel(text) {
      this.loadingModelObj = this.$loading({
        lock: true,
        text: text || 'Loading...',
        spinner: 'el-icon-loading',
        background: 'rgba(0, 0, 0, 0.7)',
        customClass: 'myLoadingCls'
      })
    }
  }
}
